﻿using SqlSugar;

namespace WebApi.Model
{
    /// <summary>
    /// 基础映射数据
    /// </summary>
    [SugarTable("t_CustomBaseData")]
    public class CustomBaseData
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 基础数据类型
        /// </summary>
        public string BaseDataType { get; set; }

        /// <summary>
        /// 源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 目标
        /// </summary>
        public string Target { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Enable { get; set; } = true;
    }
}